package com.hp.springaop02;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestAOP {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext(AOPConfig.class);
        Programmer programmer = context.getBean(Programmer.class);
//        programmer.program();
//        programmer.study();
//        programmer.walk(11);

        System.out.println(programmer.getClass());
    }
}
